package com.ygqh.baby.po;

import java.util.Date;

import com.ygqh.baby.ao.CompleteStatus;
import com.ygqh.baby.ao.DataStatus;

public class YgGroupBuying {
	private Long id;

	private Long userId;

	private Long groupId;

	private Long finishAmount;

	private DataStatus status;

	private CompleteStatus completeStatus;

	private Date completeTime;

	private Date createTime;

	private Date updateTime;

	private Long groupAmount;

	private Boolean isReal;

	private String remark;

	private String userName;
	private YgGroup ygGroup;

	public YgGroupBuying() {
		super();
	}

	public YgGroupBuying(Long id, CompleteStatus completeStatus, Date updateTime) {
		super();
		this.id = id;
		this.completeStatus = completeStatus;
		this.updateTime = updateTime;
	}

	public YgGroupBuying(Long id, CompleteStatus completeStatus, Date completeTime, Date updateTime) {
		super();
		this.id = id;
		this.completeStatus = completeStatus;
		this.completeTime = completeTime;
		this.updateTime = updateTime;
	}

	public Long getGroupAmount() {
		return groupAmount;
	}

	public void setGroupAmount(Long groupAmount) {
		this.groupAmount = groupAmount;
	}

	public Boolean getIsReal() {
		return isReal;
	}

	public void setIsReal(Boolean isReal) {
		this.isReal = isReal;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getGroupId() {
		return groupId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public Long getFinishAmount() {
		return finishAmount;
	}

	public void setFinishAmount(Long finishAmount) {
		this.finishAmount = finishAmount;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public CompleteStatus getCompleteStatus() {
		return completeStatus;
	}

	public void setCompleteStatus(CompleteStatus completeStatus) {
		this.completeStatus = completeStatus;
	}

	public Date getCompleteTime() {
		return completeTime;
	}

	public void setCompleteTime(Date completeTime) {

		this.completeTime = completeTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public YgGroup getYgGroup() {
		return ygGroup;
	}

	public void setYgGroup(YgGroup ygGroup) {
		this.ygGroup = ygGroup;
	}

	@Override
	public String toString() {
		return "YgGroupBuying [id=" + id + ", userId=" + userId + ", groupId=" + groupId + ", finishAmount=" + finishAmount + ", status=" + status
				+ ", completeStatus=" + completeStatus + ", completeTime=" + completeTime + ", createTime=" + createTime + ", updateTime=" + updateTime + "]";
	}

}